package cn.wxq.daily.empdailymgforserve.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Salary {
    /**
     * 工资id
     */
    private Integer sId;
    private Integer userId;
    private String nickName;
    private String deptName;
    /**
     * 账号
     */
    private String account;
    private Integer basicSalary;
    private Integer bonus;
    private Integer lunchSalary;
    /**
     * 应发工资
     */
    private Integer allSalary;
    /**
     * 实发工资
     */
    private Integer shouldSalary;
    /**
     * 请假扣除
     */
    private Integer leaveDel;
    /**
     * 考勤扣除
     */
    private Integer attendanceDel;
    /**
     * 费用报销
     */
    private Integer reimAdd;
    /**
     * 加班费
     */
    private Integer overworkAdd;

    /**
     * 录入时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /**
     * 养老金基数
     */
    private Integer pensionBase;
    /**
     * 养老金比率
     */
    private Float pensionPer;
    /**
     * 医疗基数
     */
    private Integer medicalBase;
    /**
     * 医疗比率
     */
    private Float medicalPer;
    /**
     * 失业报销基数
     */
    private Integer unempBase;
    /**
     * 失业报销率
     */
    private Float unempPer;
    /**
     * 工伤保险基数
     */
    private Integer injuryBase;
    /**
     * 工伤报销率
     */
    private Float injuryPer;
    /**
     * 生育保险基数
     */
    private Integer bithinsuranceBase;
    /**
     * 生育保险报销率
     */
    private Float bithinsurancePer;
    /**
     * 公积金基数
     */
    private Integer accumulationFundBase;
    /**
     * 公积金比率
     */


    private Float accumulationFundPer;

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Integer getBasicSalary() {
        return basicSalary;
    }

    public void setBasicSalary(Integer basicSalary) {
        this.basicSalary = basicSalary;
    }

    public Integer getBonus() {
        return bonus;
    }

    public void setBonus(Integer bonus) {
        this.bonus = bonus;
    }

    public Integer getLunchSalary() {
        return lunchSalary;
    }

    public void setLunchSalary(Integer lunchSalary) {
        this.lunchSalary = lunchSalary;
    }

    public Integer getAllSalary() {
        return allSalary;
    }

    public void setAllSalary(Integer allSalary) {
        this.allSalary = allSalary;
    }

    public Integer getShouldSalary() {
        return shouldSalary;
    }

    public void setShouldSalary(Integer shouldSalary) {
        this.shouldSalary = shouldSalary;
    }

    public Integer getLeaveDel() {
        return leaveDel;
    }

    public void setLeaveDel(Integer leaveDel) {
        this.leaveDel = leaveDel;
    }

    public Integer getAttendanceDel() {
        return attendanceDel;
    }

    public void setAttendanceDel(Integer attendanceDel) {
        this.attendanceDel = attendanceDel;
    }

    public Integer getReimAdd() {
        return reimAdd;
    }

    public void setReimAdd(Integer reimAdd) {
        this.reimAdd = reimAdd;
    }

    public Integer getOverworkAdd() {
        return overworkAdd;
    }

    public void setOverworkAdd(Integer overworkAdd) {
        this.overworkAdd = overworkAdd;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getPensionBase() {
        return pensionBase;
    }

    public void setPensionBase(Integer pensionBase) {
        this.pensionBase = pensionBase;
    }

    public Float getPensionPer() {
        return pensionPer;
    }

    public void setPensionPer(Float pensionPer) {
        this.pensionPer = pensionPer;
    }

    public Integer getMedicalBase() {
        return medicalBase;
    }

    public void setMedicalBase(Integer medicalBase) {
        this.medicalBase = medicalBase;
    }

    public Float getMedicalPer() {
        return medicalPer;
    }

    public void setMedicalPer(Float medicalPer) {
        this.medicalPer = medicalPer;
    }

    public Integer getUnempBase() {
        return unempBase;
    }

    public void setUnempBase(Integer unempBase) {
        this.unempBase = unempBase;
    }

    public Float getUnempPer() {
        return unempPer;
    }

    public void setUnempPer(Float unempPer) {
        this.unempPer = unempPer;
    }

    public Integer getInjuryBase() {
        return injuryBase;
    }

    public void setInjuryBase(Integer injuryBase) {
        this.injuryBase = injuryBase;
    }

    public Float getInjuryPer() {
        return injuryPer;
    }

    public void setInjuryPer(Float injuryPer) {
        this.injuryPer = injuryPer;
    }

    public Integer getBithinsuranceBase() {
        return bithinsuranceBase;
    }

    public void setBithinsuranceBase(Integer bithinsuranceBase) {
        this.bithinsuranceBase = bithinsuranceBase;
    }

    public Float getBithinsurancePer() {
        return bithinsurancePer;
    }

    public void setBithinsurancePer(Float bithinsurancePer) {
        this.bithinsurancePer = bithinsurancePer;
    }

    public Integer getAccumulationFundBase() {
        return accumulationFundBase;
    }

    public void setAccumulationFundBase(Integer accumulationFundBase) {
        this.accumulationFundBase = accumulationFundBase;
    }

    public Float getAccumulationFundPer() {
        return accumulationFundPer;
    }

    public void setAccumulationFundPer(Float accumulationFundPer) {
        this.accumulationFundPer = accumulationFundPer;
    }

    @Override
    public String toString() {
        return "Salary{" +
                "sId=" + sId +
                ", userId=" + userId +
                ", nickName='" + nickName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", account='" + account + '\'' +
                ", basicSalary=" + basicSalary +
                ", bonus=" + bonus +
                ", lunchSalary=" + lunchSalary +
                ", allSalary=" + allSalary +
                ", shouldSalary=" + shouldSalary +
                ", leaveDel=" + leaveDel +
                ", attendanceDel=" + attendanceDel +
                ", reimAdd=" + reimAdd +
                ", overworkAdd=" + overworkAdd +
                ", createDate=" + createDate +
                ", pensionBase=" + pensionBase +
                ", pensionPer=" + pensionPer +
                ", medicalBase=" + medicalBase +
                ", medicalPer=" + medicalPer +
                ", unempBase=" + unempBase +
                ", unempPer=" + unempPer +
                ", injuryBase=" + injuryBase +
                ", injuryPer=" + injuryPer +
                ", bithinsuranceBase=" + bithinsuranceBase +
                ", bithinsurancePer=" + bithinsurancePer +
                ", accumulationFundBase=" + accumulationFundBase +
                ", accumulationFundPer=" + accumulationFundPer +
                '}';
    }
}